﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.SLY.Domain.Entities
{
    public  class Parent_ChildrenModel
    {
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }
        [Required]
        [ForeignKey("Bom")]
        public string BomId { get; set; }
        [Required]
        [ForeignKey("Material")]
        public string MaterialId { get; set; }
        public bool IsDeleted { get; set; }

    }
}
